//
//  ChapterCell.m
//  MyLearnJob
//
//  Created by qianfeng on 15-6-28.
//  Copyright (c) 2015年 朱共营. All rights reserved.
//

#import "ChapterCell.h"

@implementation ChapterCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)showDataWithModel:(ChapterModel *)model{
    self.sepLable.text=[NSString stringWithFormat:@"%ld-%ld",model.chapter_seq.integerValue,model.media_seq.integerValue];
    self.nameLable.text=model.name;
    self.durationLable.text=[NSString stringWithFormat:@"%ld:%ld",model.duration.integerValue/60/1000,(model.duration.integerValue/1000)%60];
    

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
